package com.team.book;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableAuthorizationServer;
import org.springframework.web.SpringServletContainerInitializer;

@SpringBootApplication
@EnableAuthorizationServer
@MapperScan("com.team.book.mapper")
public class BookApplication extends SpringServletContainerInitializer{

	public static void main(String[] args) {
		SpringApplication.run(BookApplication.class, args);
	}
}
